{extend name="public:public" /}
{block name="section"}
<section class="Hui-article-box">
	<nav class="breadcrumb"><i class="Hui-iconfont"></i> <a href="/" class="maincolor">首页</a> 
		<span class="c-999 en">&gt;</span>
		<span class="c-666">我的桌面</span> 
		<a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
	<div class="Hui-article">
		<article class="cl pd-20">
			<p class="f-20 text-success">欢迎来到后台管理
				<span class="f-14">v2.0</span>
				后台管理系统！</p>
			<p>上次登录IP：{$last.last_ip}  上次登录时间：{$last.last_login}</p>
			<table class="table table-border table-bordered table-bg">
				<thead>
					<tr>
						<th colspan="7" scope="col">信息统计</th>
					</tr>
					<tr class="text-c">
						<th>统计</th>
						<th>订单总额</th>
						<th>利润总额</th>
						<th>订单数</th>
						<th>用户数</th>
					</tr>
				</thead>
				<tbody>
					<tr class="text-c">
						<td>总数</td>
						<td>{$total.order_total_money|default="0"}</td>
						<td>{$total.order_profit_money|default="0"}</td>
						<td>{$total.order_total|default="0"}</td>
						<td>{$total.user_total|default="0"}</td>
					</tr>
					<tr class="text-c">
						<td>今日</td>
						<td>{$toDay.order_total_money|default="0"}</td>
						<td>{$toDay.order_profit_money|default="0"}</td>
						<td>{$toDay.order_total|default="0"}</td>
						<td>{$toDay.user_total|default="0"}</td>

					</tr>
					<tr class="text-c">
						<td>昨日</td>
						<td>{$yesterDay.order_total_money|default="0"}</td>
						<td>{$yesterDay.order_profit_money|default="0"}</td>
						<td>{$yesterDay.order_total|default="0"}</td>
						<td>{$yesterDay.user_total|default="0"}</td>
					</tr>
					<tr class="text-c">
						<td>本周</td>
						<td>{$toWeek.order_total_money|default="0"}</td>
						<td>{$toWeek.order_profit_money|default="0"}</td>
						<td>{$toWeek.order_total|default="0"}</td>
						<td>{$toWeek.user_total|default="0"}</td>
					</tr>
					<tr class="text-c">
						<td>本月</td>
						<td>{$toMon.order_total_money|default="0"}</td>
						<td>{$toMon.order_profit_money|default="0"}</td>
						<td>{$toMon.order_total|default="0"}</td>
						<td>{$toMon.user_total|default="0"}</td>
					</tr>
				</tbody>
			</table>
		</article>
	</div>
</section>
{/block}
